logs = '''
111.30.144.7 "POST /mock/login/?t=GET HTTP/1.1" 200 
111.30.144.7 "Get /mock/users/?t=POST HTTP/1.1" 200 
111.13.100.92 "Post /mock/login/ HTTP/1.1" 200 
223.88.60.88 "GET /mock/users/?t=POST HTTP/1.1" 200 
111.30.144.7 "GET /mock/users/ HTTP/1.1" 200 
'''
num_post = 0
num_get = 0
for x in logs.strip().splitlines():
    type_request = x.split('\"')[1].split()[0].upper()
    #print('type_request is:  ',type_request)
    if type_request == 'GET':
        num_get += 1
    elif type_request == 'POST':
        num_post += 1
print('POST',num_post)   
print('GET',num_get)